Better Generative Programming with Generic Aspects
نویسنده
چکیده
After a brief introduction to generative, generic, and aspect-oriented programming, we point out four key elements that appear in the definition of generative programming and that are addressed in this position paper from the perspective of distributed systems development. Then, based on a concrete RMI distribution example, we start motivating how the expressiveness power of generics and the crosscutting modularization power of aspects could be combined in order to achieve highly reusable generic aspects. We conclude by presenting how generic concern-oriented model transformations could help in providing the necessary information to aspect generators for automatically instantiating our generic aspects before weaving them into concrete applications.
منابع مشابه
Better Generative Programming with Generic Aspects.fm
After a brief introduction to generative, generic, and aspect-oriented programming, we point out four key elements that appear in the definition of generative programming and that are addressed in this position paper from the perspective of distributed systems development. Then, based on a concrete RMI distribution example, we start motivating how the expressive power of generics and the crossc...
متن کاملGeneric Advice: On the Combination of AOP with Generative Programming in AspectC++
Besides object-orientation, generic types or templates and aspectoriented programming (AOP) gain increasing popularity as they provide additional dimensions of decomposition. Most modern programming languages like Ada, Eiffel, and C++ already have built-in support for templates. For Java and C# similar extensions will be available in the near future. Even though promising, the combination of as...
متن کاملGenerative Programming for a Component-based Framework of Distributed Embedded Systems 20060927
COMDES-II is a component-based software framework which formally specifies the modeling concepts and constraints for distributed embedded systems in different aspects, such as component structures, interaction, hierarchy, etc. The paper presents an overview of the design philosophies of COMDES-II in the related aspects and a generative programming approach developed to enable the engineering ap...
متن کاملA Generative Approach to Traversal-based Generic Programming
The development of complex software requires the implementation of functions over a variety of recursively defined data structures. Much of the corresponding code is not necessarily difficult, but more tedious and/or repetitive and sometimes easy to get wrong. Data structure traversals fall into this category, particularly in object-oriented languages where traversal code is spread throughout m...
متن کاملOn the Technological Aspects of Generative Learning Object Development
The Learning Objects (LOs) are digital resources that can be used (and reused) to support learning process. The Generative Learning Objects (GLOs) are generic and reusable LOs from which the specific LO content can be generated on demand. We discuss the technological aspects required for implementing the GLOs: (1) variability modeling using feature diagrams, (2) multi-dimensional separation of ...
متن کامل